<% if not @ticket.nil? -%>
	<% @project = @ticket.project -%>
<% end -%>
<% if controller.action_name == 'tag_list_big' -%>
	Project tag's<%= link_to_remote '(-)', :url => { :controller => 'project', :action => 'tag_list_small', :project => @project }, :update =>'project_tags'%> 
<% else -%>
	Project tag's<%= link_to_remote '(+)', :url => { :controller => 'project', :action => 'tag_list_big', :project => @project }, :update =>'project_tags'%> 
<% end -%>
<%= @tags.collect{ |t|  link_to_function(t.name.downcase , "add_tag('" + t.name.downcase + "')") }.join(", ") %>